//
//  NSString+ToolExtend.h
//  TTBaseProject
//
//  Created by shny588 on 16/7/13.
//  Copyright © 2016年 tt. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface NSString (ToolExtend)

//字符串是否为空
- (BOOL)isNil;
- (BOOL)isNotNil;

//格式化处理电话号码(去除+86、\\、(、)、等)
- (NSString *)telephoneWithReformat;

//计算 Size
- (CGSize)getStringSizeForFont:(UIFont*)aFont maxSize:(CGSize)maxSize;

@end
